<%@ page pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="isperp" uri="/WEB-INF/tlds/isperp.tld"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>


<form:form commandName="model" cssClass="validate"
	action="callcenter/agent/save">
	<form:hidden path="id" />
	<div class="header">
		<h2>座席人员设置</h2>
	</div>
	<table class=" form-table">
		<tbody>
			<tr>
				<td class="td1">人员：</td>
				<td class="td2"><form:hidden path="username" /> <isperp:departmentUser
						id="fullname" displayValueCssClass="required" name="fullname"
						displayValue="${model.fullname }" valueControlId="username"></isperp:departmentUser>
				</td>

			</tr>
			<tr>
				<td class="td1">座席号：</td>
				<td class="td2"><input type="text" id="agentNumber"
					name="agentNumber" class="required" value="${model.agentNumber }">
				</td>
			</tr>
			<tr>
				<td class="td1">分机号：</td>
				<td class="td2"><input type="text" id="agentExtension"
					name="agentExtension" class="required"
					value="${model.agentExtension }"></td>
			</tr>
			<tr>
				<td class="td1">组号：</td>
				<td class="td2"><input type="text" id="agentGroup"
					name="agentGroup" class="required number"
					value="${model.agentGroup }">
				</td>
			</tr>
			<tr>
				<td class="td1">优先级：</td>
				<td class="td2"><input type="text" id="agentLevel"
					name="agentLevel" class="required number"
					value="${model.agentLevel }"></td>
			</tr>
	</table>
</form:form>
<isperp:buttonList>
	<button class="submit" onclick="isperp.submitForm(); return false;">
		<span class="icon icon-save"></span>提交
	</button>
</isperp:buttonList>